import apiUrl from "../base";
import axios from '@/libs/axios';
const menuManagement = {
  getMenuTreeList(prames) {
    return axios.post(`${apiUrl.base}v1/Menu/pc/MenuTree`,prames)
  },
  //详情
  getMenuDetails(prames) {
    return axios.post(`${apiUrl.base}v1/Menu/details/`+ prames,'')
  },
  //修改
  getMenuEdit(prames) {
    return axios.post(`${apiUrl.base}v1/Menu/edit`,prames)
  },
  //是否置顶
  getMenuEditIsTop(prames) {
    return axios.get(`${apiUrl.base}v1/Dict/getListByTypeCode/${prames}`,'')
  },
}
export default menuManagement
